//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_getwparray2.sqf"
#include "x_setup.sqf"

private["_tc", "_radius","_wp_a","_point"];
PARAMS_2(_tc,_radius);
_wp_a = [];_wp_a resize 100;
for "_i" from 0 to 99 do {
	_point = [_tc, _radius] call FUNC(GetRanPointCircleOuter);
	if (count _point == 0) then {
		for "_e" from 0 to 150 do {_point = [_tc, _radius] call FUNC(GetRanPointCircleOuter);if (count _point > 0) exitWith {}};
	};
	if (count _point > 0) then {_wp_a set [_i, _point]};
};
_wp_a